package com.hq.ims.data.utils;

/**
 *
 */
public class ErrMsgConstant {

    public final static String PARAM_INPUT_ERROR = "请求参数错误";

    public final static String DECRYPTION_ERR = "信息解析出错";

    public final static String IMAGE_SLIDE_VALID_ERR = "滑块验证不通过";

    // ------------------------------ 解密解码相关 ----------------------------------

    public final static String DECODE_FAILURE = "解码失败";

    // ------------------------------ 操作相关 ----------------------------------

    public final static String OPERATION_FAILURE = "操作失败";
    public final static String OPERATION_SUCCESS = "操作成功";

    // ------------------------------ 权限相关 ----------------------------------

    public final static String DATA_PERMISSION_LIMIT = "没有权限操作此数据";
    public final static String PERMISSION_AUTH_NOT_EXISTS = "权限不存在";
    public final static String PERMISSION_AUTH_NAME_NOT_EMPTY = "权限名称不能为空";
    public final static String PERMISSION_AUTH_NAME_EXISTS = "权限名称已存在";
    public final static String PERMISSION_ROLE_NOT_EXISTS = "角色不存在";
    public final static String PERMISSION_ROLE_NOT_IN_COMPANY = "角色不属于公司";
    public final static String PERMISSION_ROLE_NAME_EXISTS = "角色名称已存在";
    public final static String PERMISSION_ROLE_GROUP_NOT_EXISTS = "角色组不存在";
    public final static String PERMISSION_AUTH_GROUP_NOT_EXISTS = "权限组不存在";

    public final static String PERMISSION_MENU_NOT_EXISTS = "菜单不存在";
    public final static String PERMISSION_MENU_NAME_EXISTS = "菜单名称已存在";

    public final static String PERMISSION_GROUP_NAME_EXISTS = "组名称已存在";
    public final static String PERMISSION_GROUP_NOT_EXISTS = "组不存在";
    public final static String PERMISSION_GROUP_HAVE_CHILDREN_DATA_NOT_DEL = "组下存在数据不能删除";


    // ------------------------------ 账号错误 ----------------------------------

    public final static String MOBILE_VALID_ERR = "手机号不正确";
    public final static String MOBILE_NOT_EXISTS = "手机号不存在";
    public final static String MOBILE_ALREADY_EXISTS = "手机号已经存在";
    public final static String MOBILE_UN_REGISTER_ERR = "手机号未注册";
    public final static String MOBILE_LOGIN_ERR = "手机号或验证码不正确";
    public final static String MOBILE_SMS_CODE_ERR = "验证码不正确";
    public final static String PASSWORD_ERR = "密码不正确";
    public final static String ACCOUNT_OR_PASSWORD_ERR = "账号或密码不正确";
    public final static String TWICE_PASSWORD_DISSIMILARITY = "两次密码不一致";
    public final static String ACCOUNT_PROHIBIT_LOGIN = "账号禁止登陆";
    public final static String ACCOUNT_ILLEGALITY_LOGIN = "账号非法登陆";
    public final static String USER_INFO_NOT_EXISTS = "用户不存在";
    public final static String USER_NOT_AUTH_OPERATE_PLATFORM_DATA = "用户无权操作平台数据";

    public final static String PASSWORD_INTENSITY_LOW = "密码强度低";

    // ------------------------------ 公司错误 ----------------------------------

    public final static String COMPANY_STATUS_EXCEPTION = "公司状态异常";
    public final static String COMPANY_INFO_NOT_EXISTS = "公司不存在";
    public final static String COMPANY_NAME_EXISTS = "公司名称已存在";
    public final static String EMPLOYEE_INFO_NOT_EXISTS = "员工信息不存在";

    // ------------------------------ 部门错误 ----------------------------------

    public final static String DEPARTMENT_INFO_NOT_EXISTS = "部门不存在";

    // ------------------------------ 用户相关业务错误 --------------------------------

    public final static String USER_UN_LOGIN = "用户未登陆";
    public final static String USER_UN_JOIN_COMPANY = "用户未加入公司";
    public final static String USER_NOT_EMPTY = "用户不能为空";
    public static final String USER_IS_NOT_COMPANY_EMPLOYEE = "用户不是公司员工";
    public static final String USER_UN_JOIN_DEPARTMENT = "用户未加入部门";


    // ------------------------------ 公司相关业务错误 --------------------------------

    //--------------------------------经营信息管理------------------------------------
    public final static String PROJECT_NAME_EXISTS = "项目名称已存在";
    public final static String PROJECT_INFO_NOT_EXITS = "数据不存在";
    public final static String PROJECT_INFO_AUDIT_REMARK_NOT_EMPTY = "拒绝理由不能为空";
    public final static String PROJECT_INFO_PUBLISH_STATUS_EXCEPTION = "状态异常";
    public final static String PROJECT_INFO_PASS = "数据已审核通过不允许修改";
    public final static String EXITS_DERIVE_DATA = "已创建派生信息不允许变更删除";
    public final static String AREA_ERROR = "地区错误";
    //--------------------------------经营信息管理------------------------------------
}
